All Questions
4 questions
0votes
0answers
34views
SetPnPView not working with aggregation
I want to update the view of SharePoint document library to display total no of items. I can manually go to each view and update but I have 22 libraries and 5 views in each library. There are total ...
1vote
1answer
168views
Add-PnPView group by secondary field
I have created a script to create number of views in SharePoint, but I am unable to work out the CAML to group by more than one field if it's possible. 1 field being: <GroupBy Collapse="TRUE&...
0votes
2answers
797views
Get-PnPView : Object reference not set to an instance of an object
I need PnP command to check if view exist on list before creating view. Get-PnPView -List "list1"-Identity "view1" However, I am getting below error if view doesn't exists. If ...
3votes
1answer
3kviews
PnP Poweshell: Get-PnPListItem Restrict to a Specific View
I'm using Get-PnpList and Get-PnpListItem to retrieve all items in a specific list, but I would like to restrict the items to only those in a specific view? Is this possible? Maybe with a CAML query, ...